.header-wrap,
.nav-wrap {
    height: 5.3125rem;
}

.header {
    box-shadow: 0px 1px 10px 0px rgb(90 120 155 / 15%);
}

.nav-wrap .logo {
    width: 20rem;
}

.search-wrap {
    width: 11.25rem;
}

.navbar {
    width: calc(90% - 22.5rem);
    max-width: 682px;
    padding: 0;
}

.navbar ul {
    margin-bottom: 0;
}

.navbar ul li a,
.navbar ul li {
    line-height: 4;
    font-size: 1.125rem;
    font-weight: 400;
}

.navbar ul li a:hover {
    text-decoration: none;
}

.search .search-input-wrap {}

.search .search-input-wrap .search-input {
    height: 2.25rem;
    line-height: 2.25rem;
    padding: 0.3125rem 0.625rem;
    font-size: 0.875rem;
    width: 9rem;
    font-weight: 400;
    border: 1px solid #005cc8;
    border-radius: 4px 0 0 4px;
}

.search .search-input-wrap .search-input::placeholder {
    font-weight: 400;
}

.search .search-input-wrap span {
    width: 2.25rem;
    height: 2.25rem;
    display: block;
    background: #005cc8;
    font-size: 1.6rem;
    color: #fff;
    background-size: 1.125rem 1.125rem;
    border: 1px solid #005cc8;
    border-left-width: 0;
    border-radius: 0 4px 4px 0;
    text-align: center;
    line-height: 2.25rem;
}

.search .search-input-wrap .search-input:focus,
.search .search-input-wrap .search-input:focus-visible {
    outline: 0;
}

.search .search-input-wrap .search-input::placeholder {
    color: #d3d3d3;
}

.menu,
.close-menu {
    display: none;
}

.menu {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
    width: 85px;
}

.menu .menu-btn {
    display: block;
    width: 40px;
    height: 40px;
    font-size: 2.3rem;
    font-weight: 500;
    color: #005cc8;
    line-height: 40px;
    text-align: center;
}

.menu .menu-search-btn {
    width: 40px;
    height: 40px;
    font-size: 2.2rem;
    font-weight: 500;
    color: #005cc8;
    line-height: 40px;
    text-align: center;
    border: 0 none;
    background-size: 59% auto;
    display: block;
    margin-right: 5px;
}

@media screen and (max-width:1000px) {
    .search-wrap {
        display: none;
    }
    .header-wrap,
    .nav-wrap {
        height: 50px;
        position: relative;
    }
    .container {
        padding-top: 50px;
    }
    .menu {
        display: -ms-flexbox;
        display: flex;
    }
    .navbar {
        /* display: none; */
        background: rgba(0,97, 200, 0.9);
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        z-index: 10001;
        width: 100%;
        height: 100%;
        max-width: 100%;
    }
    .close-menu {
        position: absolute;
        right: 3.75%;
        top: 5px;
        z-index: 11;
        width: 40px;
        height: 40px;
        display: block;
        font-size: 2.2rem;
        font-weight: 500;
        color: #fff;
        line-height: 40px;
        line-height: 40px;
        text-align: center;
        cursor: pointer;
    }
    .navbar.active {
        animation: navBar 0.5s cubic-bezier(0.65, 0.13, 0.41, 1) 0s 1 forwards;
        -webkit-animation: navBar 0.5s cubic-bezier(0.65, 0.13, 0.41, 1) 0s 1 forwards;
    }
    @keyframes navBar {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(0);
        }
    }
    @-webkit-keyframes navBar {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(0);
        }
    }
    .navbar ul {
        padding-top: 50px;
        padding-right: 30px;
        padding-left: 30px;
        width: 90%;
        margin: 0 auto;
    }
    .navbar ul li a,
    .navbar ul li {
        width: 100%;
        font-size: 16px;
        color: #fff;
        line-height: 30px;
        display: block;
        text-align: right;
    }
    .navbar ul li {
        padding: 10px;
        border-bottom: 1px solid #fff;
    }
}

@media screen and (max-width:768px) {
    .close-menu {
        right: 2.5%;
    }
}

/* 下拉菜单基础样式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -50%;
    background-color: rgba(0, 0, 0, 0.6); 
    list-style: none;
    padding: 0;
    margin:0px;
    z-index: 1000;
    min-width: 140px;	
}

.navbar ul li .dropdown-menu li {
    padding: 10px;
	text-align: center;
    border-bottom:#7a7a7a 1px solid;
	line-height: 1.5;
}

.navhover {
    color: #007bff; /* 蓝色背景 */
}

.navbar ul li .dropdown-menu li a {
    color: #fff; 
    text-decoration: none;
    display: block;
	line-height: 1.5;
}

/* 修改鼠标悬停效果 */
.dropdown-menu li:hover {
    background-color: #007bff; /* 蓝色背景 */
}

.dropdown-menu li:hover a {
    color: #fff; /* 白色字体 */
}

/* 鼠标悬停显示下拉菜单（桌面端） */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* 响应式样式（移动端） */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        border: none;
        background-color: transparent; 
		width: 100%
    }

.navbar ul li .dropdown-menu li {
		border-bottom: #f3f9ff 1px dotted;
		color: #e8f2fc
    }
.navbar ul li .dropdown-menu li:last-child {  border-bottom: 0}

.dropdown.active .dropdown-menu {
        display: block;
		padding: 0px;
		margin: 0px
    }
}